import React from 'react';
import {Tag} from 'antd'


interface IOrderStatus {
    status:number
}
const OrderStatus: React.FC<IOrderStatus> = ({status}) => {
    return (
        <>
        {status === 0 && (<Tag color="#f50">待服务</Tag>)}
        {status === 1 && (<Tag color="#87d068">已完成</Tag>)}
        </>
    )
}
export default OrderStatus
